package cn.vplay.services.impl;

import cn.vplay.beans.Product;
import cn.vplay.dao.ProductDao;
import cn.vplay.services.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("productService")
public class ProductServiceImpl implements ProductService {
    @Autowired
    private ProductDao productDao;
    @Override
    public List<Product> getAllProducts() {
        return productDao.getAllProducts();
    }
}
